package cn.wolfcode.service;

import cn.wolfcode.domain.Role;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;
public interface IRoleService {
    void deleteByPrimaryKey(Long id);
    void insert(Role role, Long[] ids);
    Role selectByPrimaryKey(Long id);
    List<Role> selectAll();
    void updateByPrimaryKey(Role role, Long[] ids);
    PageInfo<Role> query(QueryObject qo);
}
